<div class="container">
<?php echo $form->create('Seller', array('action'=>'','method'=>'post','enctype'=>'multipart/form-data', 'class' => 'mws-form')); ?>
<?php 
if(isset($Userdetails['User']['hash'])){$Userdetails['User']['hash']=$Userdetails['User']['hash'];}else{$Userdetails['User']['hash']="";}
echo $this->Form->input('Message.email', array('type' => 'hidden','value'=>$Userdetails['User']['hash'].'@'.wondere_email_domain));
echo $this->Form->input('Message.order_id', array('type' => 'hidden','value'=>$order_id));

?>
  <h2 class="main_title">Customer &gt; <?php echo $Userdetails['User']['name']; ?> </h2>
  <div class="def_width_100 text_def_13">Review all your communication between yourself and your buyers. You can view the message details or the related order information. <a href="#" class="blue_link">Learn more</a></div>
  <div class="sell_ser_prod">
    <h2>Your Email to <?php echo $Userdetails['User']['name']; ?> </h2>
    <div class="pad_10"></div>
    <div class="def_width_100 f_left">
      <div class=" width_60 f_left" style="padding-left:10px;">
        <ul class="ul_prod_listing">
          <li>
            <p><b>To : </b> <?php echo $Userdetails['User']['name']; ?> <br/>
            </p>
            <p><span class="gray_comment"><?php echo $Userdetails['User']['hash']; ?><?php echo wondere_email_domain; ?></span></p>
            <br>
            <p><b>From : </b><?php echo $this->Session->read('Auth.User.name');?><br/>
            </p>
            <div class="def_width_100 f_left">
              <p><b>Subject :&nbsp;</b>
					<?php
                    echo $this->Form->input('Message.subject_id', 
                    array('type' => 'select','options'=>$subjects,
                    'default'=>"",'class'=>'text_b_280','style'=>'','empty'=>false,'label' =>false)
                    );
                    ?> 
            </p>
            </div>
            <br>
          </li>
          <li></li>
        </ul>
      </div>
      <div class=" width_40 f_left" >
        <ul class="ul_prod_listing">
          <li>
            <p><b>Order Id:</b><?php echo $order_id; ?></p>
            <br>
            <P><i>Review all your communication between yourself and your buyers. Yo</i></P>
          </li>
          <li></li>
        </ul>
      </div>
    </div>
  </div>
  <div class="def_width_100 f_left">
        <div class="width_20 f_left">
          <h2 class="left_title">Need Some Help?</h2>
          <div class="sellerMain_gary">
            <div style="line-height:1.4em;"> <a href="#">Buyer-Seller Messaging Service Help</a> </div>
          </div>
          <h2 class="left_title">Tools and Resource</h2>
          <div class="sellerMain_gary">
            <div style="line-height:1.4em;"> <a target="_blank" href="#"> Alternate Address </a><br>
            </div>
          </div>
        </div>
    <div class="width_79 f_right"> 
      <!--*************************************-->
      <div class="sellerMain_acc f_left" >
        <div class="def_width_100 f_left"> <span class="text_def_13"> Type your message in the box below. We will forward it to the buyer. Please do not include email addresses, HTML or links (URLs) in your message. If you need to refer to an item on the Amazon web site, include the product name and/or the ASIN/ISBN.

IMPORTANT NOTICE: When you submit this form, Amazon will replace your email address with one provided by Amazon in order to protect your identity, and forward the message on your behalf. Amazon will retain copies of all e-mails sent and received using this service, including the message you submit below, and may review these messages as necessary to resolve disputes. By using this service, you consent to this action. 
          <br>
          </span> </div>
        <div class="def_width_100 f_left">
          <div class="def_width_100 f_left message_form" >
            <div class="acc_form_1 ">Message : </div>
            <div class="acc_form_2 ">
		<?php echo $this->Form->input('Message.dec', array('type' => 'textarea')); ?>
              <span class="gray_comment">You have 4000 charcter</span> </div>
          </div>
          <div class="def_width_100 f_left message_form" >
            <div class="acc_form_1">Attcehment : </div>
            <div class="acc_form_2">
			<?php echo $this->Form->input('Message.attachment', array('type' => 'file')); ?>
              <span class="gray_comment">Example: Olympus Camedia C-50 Digital Camera</span> </div>
          </div>
          <div class="def_width_100 f_left message_form" >
            <div class="acc_form_1">&nbsp; </div>
            <div class="acc_form_2">
              <input name="" type="submit" value="Send" class="form_btn">
            </div>
          </div>
        </div>
      </div>
    </div>
    <!--************************************--> 
  </div>
  <?php echo $form->end(); ?>
</div>
